package cn.yh.shop.user.model;

import java.sql.Timestamp;
import java.util.Date;
/**.
 * @Description:User实体类.
 * @author:"仇文文"
 * @time:2016年12月14日 下午5:50:05
 */

public class User implements java.io.Serializable {
    /**.
    * @Description: serialVersionUID : 序列化
    */
    private static final long serialVersionUID = 1L;
	/**.
	 * @Description: id : 用户id
	 */
	private Integer id;
	/**.
	 * @Description: name : 用户登录名
	 */
	private String name;
	/**.
	 * @Description: pwd : 用户登录密码
	 */
	private String pwd;
	/**.
	 * @Description: nickname : 用户昵称
	 */
	private String nickname;
	/**.
	 * @Description: sex :  用户性别
	 */
	private Integer sex;
	/**.
	 * @Description: birthday : 用户生日
	 */
	private Date birthday;
	/**.
	 * @Description: email : 用户邮箱
	 */
	private String email;
	/**.
	 * @Description: phone : 用户手机号
	 */
	private String phone;
	/**.
	 * @Description: lastLogin : 用户最后一次登陆时间
	 */
	private Timestamp lastLogin;
	/**.
	 * @Description: registerTime : 用户注册时间
	 */
	private Timestamp registerTime;
	/**.
	 * @Description: score : 用户积分
	 */
	private Integer score;
	/**.
	 * @Description: levelScore : 用户等级积分
	 */
	private Integer levelScore;
	/**.
	 * @Description: status : 用户等级积分
	 */
	private Integer status;
	/**.
	 * @Description: addPeopleName : 添加人姓名
	 */
	private String addPeopleName;
	/**.
	 * @Description: addTime : 添加时间
	 */
	private Timestamp addTime;
	/**.
	 * @Description: altPeopleName : 修改人姓名
	 */
	private String altPeopleName;
	/**.
	 * @Description: altTime : 修改时间
	 */
	private Timestamp altTime;
	/**.
	 * @Description:default constructor
	 */
	public User() {
	}
	/**.
	 * @Description:minimal constructor
	 * @param id
	 * @param name
	 * @param pwd
	 * @param sex
	 * @param registerTime
	 * @param score
	 * @param levelScore
	 * @param status
	 */
	public User(Integer id, String name, String pwd, Integer sex,
			Timestamp registerTime, Integer score, Integer levelScore,
			Integer status) {
		this.id = id;
		this.name = name;
		this.pwd = pwd;
		this.sex = sex;
		this.registerTime = registerTime;
		this.score = score;
		this.levelScore = levelScore;
		this.status = status;
	}
	/**.
	 * @Description:full constructor
	 * @param id
	 * @param name
	 * @param pwd
	 * @param nickname
	 * @param sex
	 * @param birthday
	 * @param email
	 * @param phone
	 * @param lastLogin
	 * @param registerTime
	 * @param score
	 * @param levelScore
	 * @param status
	 * @param addPeopleName
	 * @param addTime
	 * @param altPeopleName
	 * @param altTime
	 */
	public User(Integer id, String name, String pwd, String nickname,
			Integer sex, Date birthday, String email, String phone,
			Timestamp lastLogin, Timestamp registerTime, Integer score,
			Integer levelScore, Integer status, String addPeopleName,
			Timestamp addTime, String altPeopleName, Timestamp altTime) {
		this.id = id;
		this.name = name;
		this.pwd = pwd;
		this.nickname = nickname;
		this.sex = sex;
		this.birthday = birthday;
		this.email = email;
		this.phone = phone;
		this.lastLogin = lastLogin;
		this.registerTime = registerTime;
		this.score = score;
		this.levelScore = levelScore;
		this.status = status;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Timestamp getLastLogin() {
		return this.lastLogin;
	}

	public void setLastLogin(Timestamp lastLogin) {
		this.lastLogin = lastLogin;
	}

	public Timestamp getRegisterTime() {
		return this.registerTime;
	}

	public void setRegisterTime(Timestamp registerTime) {
		this.registerTime = registerTime;
	}

	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public Integer getLevelScore() {
		return this.levelScore;
	}

	public void setLevelScore(Integer levelScore) {
		this.levelScore = levelScore;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}